<template>
    <page-body>
        <view class="page">
            <view class="flex benben-position-layout flex flex-wrap align-center expenditur_flex_0" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
                <view class='flex flex-wrap align-center justify-between flex-sub expenditur_fd0_0'>
                    <view class='flex flex-wrap align-center expenditur_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
                        <text class='fu-iconfont2  expenditur_fd0_0_c0_c0'>&#xE794;</text>
                    </view>
                    <view class='flex flex-wrap align-stretch justify-center'>
                        <text class='expenditur_fd0_0_c1_c0'>支出详情</text>
                    </view>
                    <view class='flex flex-wrap align-center justify-end expenditur_fd0_0_c0'>
                    </view>
                </view>

            </view>
            <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
            <!---flex布局flex布局开始-->
            <view class="flex flex-direction flex-wrap align-center justify-center benben-flex-layout">
                <image class='expenditur_fd1_0' mode="aspectFit" :src='STATIC_URL+"51.png"' v-if=" detail.check_status=='2'"></image>
                <image class='expenditur_fd1_0' mode="aspectFit" :src='STATIC_URL+"88.png"' v-if=" detail.check_status=='1'"></image>
                <image class='expenditur_fd1_0' mode="aspectFit" :src='STATIC_URL+"89.png"' v-if=" detail.check_status=='3'"></image>
                <text class='expenditur_fd1_1' v-if=" detail.cash_status=='2' && detail.check_status=='2'">已到账</text>
				<text class='expenditur_fd1_1' v-if=" detail.check_status=='1'">提现审核中</text>
				<text class='expenditur_fd1_1' v-if=" detail.check_status=='3'">提现审核驳回</text>
                <view class='expenditur_fd1_2' v-if="detail.check_status=='3'">
                    <text class='expenditur_fd1_2_c0'>驳回原因</text>
                    <text>{{detail.check_reason}}</text>
                </view>
                <view class='flex flex-direction align-stretch expenditur_fd1_3'>
                    <view class='flex flex-wrap align-center expenditur_fd1_3_c0'>
                        <text>提现金额</text>
                        <text class='expenditur_fd1_3_c0_c1'>￥</text>
                        <text class='expenditur_fd1_3_c0_c2'>{{detail.cash_fee}}</text>
                    </view>
                    <view class='flex flex-wrap align-center expenditur_fd1_3_c0'>
                        <text>提现方式</text>
                        <text class='expenditur_fd1_3_c0_c1' v-if=" detail.account_type=='1'">微信</text><text class='expenditur_fd1_3_c0_c1' v-if=" detail.account_type=='2'">支付宝</text><text class='expenditur_fd1_3_c0_c1' v-if=" detail.account_type=='3'">银行卡</text>
                    </view>
                    <view class='flex flex-wrap align-center expenditur_fd1_3_c0'>
                        <text>提现时间</text>
                        <text class='expenditur_fd1_3_c0_c1'>{{detail.create_time}}</text>
                    </view>
                    <view class='flex flex-wrap align-center expenditur_fd1_3_c0' v-if="detail.check_time">
                        <text>审核时间</text>
                        <text class='expenditur_fd1_3_c0_c1'>{{detail.check_time}}</text>
                    </view>
                    <view class='flex flex-wrap align-start expenditur_fd1_3_c0' v-if="detail.transfer_img">
                        <text>支付凭证</text>
                        <image class='expenditur_fd1_3_c4_c1' mode="aspectFill" :src='detail.transfer_img'  @tap.stop="singleImagePreview(detail.transfer_img)"></image>
                    </view>
                </view>
            </view>

            <!---flex布局flex布局结束-->


        </view>
    </page-body>
</template>
<script>
    import {
        validate
    } from '@/common/utils/validate.js'

    export default {
        components: {},


        data() {
            return {
                "detail": {
                    "aid": "",
                    "member_id": "",
                    "uid": "",
                    "create_time": "",
                    "update_time": "",
                    "sort": "",
                    "is_del": "",
                    "status": "",
                    "create_id": "",
                    "row_lock": "",
                    "user_id": "",
                    "order_no": "",
                    "true_name": "",
                    "check_status": "",
                    "cash_status": "",
                    "check_reason": "",
                    "cash_reason": "",
                    "check_time": "",
                    "cash_time": "",
                    "account_type": "",
                    "account": "",
                    "cash_fee": "",
                    "handling_fee": "",
                    "pay_fee": "",
                    "transaction_id": "",
                    "transfer_id": "",
                    "transfer_img": "",
                    "is_auto": "",
                    "remark": "",
                    "bank_name": "",
                    "bank_address": "",
                    "qrcode_url": ""
                },
                "order_sn": ""
            };
        },
        computed: {

        },
        watch: {},
        onLoad(options) {
            let {
                order_sn
            } = options
            if (order_sn !== undefined) this.order_sn = order_sn
            this.getht67555fa9e77cFunc()
        },
        onUnload() {

        },
        onReady() {

        },
        onShow() {

        },
        onHide() {

        },
        onResize() {

        },
        onPullDownRefresh() {

        },
        onReachBottom(e) {

        },
        onPageScroll(e) {

        },
        methods: {
            //钱包-提现详情
            async getht67555fa9e77cFunc() {
                //请求方法
                //数据验证

                let datadetail = await this.$api.get(global.apiUrls.post667555fa9e77c, {
                    order_sn: this.order_sn
                });

                if (datadetail.data.code != 1) {
                    this.$message.info(datadetail.data.msg);
                    return
                }
                let infodetail = datadetail.data;
                this.detail = infodetail.data

            }
        }
    };
</script>
<style lang="scss" scoped>
    .page {
        width: 100vw;
        overflow-x: hidden;
        min-height: calc(100vh - var(--window-bottom));
        background: var(--benbenbgColor1);
        background-size: 100% auto;
    }

    .expenditur_flex_0 {
        background: #fff;
        width: 750rpx;
        height: 88rpx;
        overflow: hidden;
        z-index: 10;
        top: 0rpx;
        background-size: 100% auto !important;
    }

    .expenditur_fd0_0_c1_c0 {
        font-size: 36rpx;
        font-weight: 700;
        color: #333333;
        line-height: 50rpx;
    }

    .expenditur_fd0_0_c0_c0 {
        font-size: 36rpx;
        color: #333;
    }

    .expenditur_fd0_0_c0 {
        width: 120rpx;
    }

    .expenditur_fd0_0 {
        padding: 0rpx 32rpx 0rpx 32rpx;
    }

    .expenditur_fd1_3_c4_c1 {
        width: 253rpx;
        height: 160rpx;
        border-radius: 0rpx 0rpx 0rpx 0rpx;
        margin: 0rpx 0rpx 0rpx 24rpx;
    }

    .expenditur_fd1_3_c0_c2 {
        color: #666666;
        font-size: 28rpx;
        font-weight: 400;
    }

    .expenditur_fd1_3_c0_c1 {
        color: #666666;
        font-size: 28rpx;
        font-weight: 400;
        margin: 0rpx 0rpx 0rpx 24rpx;
    }

    .expenditur_fd1_3_c0 {
        margin: 0rpx 0rpx 32rpx 0rpx;
    }

    .expenditur_fd1_3 {
        background: #F8F8F8;
        width: 686rpx;
        margin: 60rpx 0rpx 60rpx 0rpx;
        border-radius: 16rpx 16rpx 16rpx 16rpx;
        padding: 32rpx 32rpx 0rpx 32rpx;
    }

    .expenditur_fd1_2_c0 {
        margin: 0rpx 24rpx 0rpx 0rpx;
    }

    .expenditur_fd1_2 {
        margin: 24rpx 0rpx 0rpx 0rpx;
        font-size: 28rpx;
        font-weight: 400;
        color: #666666;
        max-width: 686rpx;
    }

    .expenditur_fd1_1 {
        color: #333333;
        font-size: 36rpx;
    }

    .expenditur_fd1_0 {
        width: 200rpx;
        height: 200rpx;
        border-radius: 0rpx 0rpx 0rpx 0rpx;
        margin: 64rpx 0rpx 38rpx 0rpx;
    }
</style>